package com.tanhua.dubbo.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * 测灵魂-试题
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_question")
public class SoulQuestions implements Serializable {

    private static final long serialVersionUID = 3245863720994556358L;

    @Id
    private ObjectId _id;//主键id
    private String id;//试题编号
    private String question;//题目
    private List<Option> options;//选项
    @JsonIgnore
    private Integer questionLevel;//试题难度：初级2，中级3，高级5


}
